package cn.fangline.wo.mapper;

import cn.fangline.wo.model.Agent;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 经纪人 Mapper 接口
 * </p>
 *
 * @author 抽离
 * @since 2017-04-21
 */
public interface AgentMapper extends BaseMapper<Agent> {

    public List<Agent> agentsWithCorpId(@Param("cityId") Integer cityId);

    public void writeBack(@Param("cityId") Integer cityId);

    public void writeOtherCorpId(@Param("cityId") Integer cityId);


}